/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.service;

import java.util.List;

import org.xstgongyi.eduaid.dataobject.GradeDO;

/**
 * @author oldcrane<br/>
 * @created 2019-04-14
 */
public interface GradeService {

	void insert(GradeDO grade);

	void update(GradeDO grade);

	List<GradeDO> listAll();

	List<GradeDO> listByStatus(Boolean active);

	GradeDO getById(Integer id);

}
